﻿using MediatR;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.DeviceManage
{
    /// <summary>
    /// 更新设备类型命令
    /// </summary>
    public class UpdateDeviceTypeCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 设备类型编码
        /// </summary>
        public string? DeviceTypeCode { get; set; }

        /// <summary>
        /// 设备类型名称
        /// </summary>
        public string? DeviceTypeName { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool State { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Notes { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
